package com.todod.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.todod.model.RoleMenu;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author gsh
 * @since 2020-11-23
 */
public interface IRoleMenuService extends IService<RoleMenu> {

	void saveData(Long _userId, Long roleId, List<Long> menuIds);

	void deleteByRoleId(Long _userId, Long roleId);

	void deleteByMenuId(Long _userId, Long menuId);

	List<RoleMenu> getByRoleId(Long roleId);

}
